package Homework09;

public class LabeledPoint extends Point{
    private String labP;
    public LabeledPoint(String labP,double x, double y) {
        super(x, y);
        this.labP = labP;
    }

    public String getLabP() {
        return labP;
    }

    public void setLabP(String labP) {
        this.labP = labP;
    }

    public static void main(String[] args) {
        LabeledPoint thursday = new LabeledPoint("Thursday", 1929, 230.07);
    }
}
